package com.tony.blog.model.entity;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 *
 * @Title: BlogImage
 * @Auther: 皮蛋布丁
 * @Date: 2021/08/15/20:46
 * @Description:
 */
@Data
@NoArgsConstructor
public class BlogImage implements Serializable {

    private Integer id;

    private Integer blogId;

    private String name;

    private String size;

    private String suffix;

    private String fileUrl;

    private Byte isActive=1;

    private Date createTime;

    public BlogImage(String name, String size, String suffix, String fileUrl) {
        this.name = name;
        this.size = size;
        this.suffix = suffix;
        this.fileUrl = fileUrl;
    }
}
